const router = require('express').Router();

const sign = '◇◆`` ﹌.|ˊ双手插兜 .湘当滴嘢蛮吖|?﹏.﹏';
const arr = ['猴子','唐僧','八戒','河妖'];
const content = `
  <h1 style="text-align:center;color:red">这是富文本编辑器编辑的内容</h1>
`;
router.get('/home', (req, res) => {
  res.render('home', {
    sign,
    arr,
    content
  });
})


router.post('/home', (req, res) => {
  res.send('home的post路由')
})

module.exports = router;